Skip to content

Commit

Permalink
- conform the buttons to the quit-message of OMShell
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22122 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Sep 4, 2014
1 parent a6244e3 commit 1eb13cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/notebook.cpp
Expand Up @@ -2723,7 +2723,7 @@ void NotebookWindow::closeEvent( QCloseEvent *event )
QMessageBox::Ok | QMessageBox::Default,
QMessageBox::No, QMessageBox::Cancel );

if( result == QMessageBox::Yes )
if( result == QMessageBox::Ok )
{
QString quit = "quit()";
omc->evalExpression( quit );
Expand Down

0 comments on commit 1eb13cc

Please sign in to comment.