Skip to content

Commit

Permalink
Bad workaround for #659
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Jan 8, 2024
1 parent a1f218a commit c843d47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/openstudio_lib/OSDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
#include <QIcon>
#include <QInputDialog>
#include <QSettings>
#include <QtGlobal> // Workaround for #659

#include <memory>

Expand Down Expand Up @@ -353,8 +354,11 @@ void OSDocument::setModel(const model::Model& model, bool modified, bool /*saveC
}

void OSDocument::weatherFileReset() {
// TODO: temporary workaround for #659
#ifndef Q_OS_DARWIN
QMessageBox::warning(mainWindow(), "Missing Weather File",
"Invalid weather file object, weather file object has been reset. Please choose another weather file.");
#endif
}

void OSDocument::createTabButtons() {
Expand Down

0 comments on commit c843d47

Please sign in to comment.