/[svn]/gigedit/trunk/src/gigedit/mainwindow.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2691 by schoenebeck, Sun Jan 4 19:46:54 2015 UTC revision 2694 by schoenebeck, Tue Jan 6 16:08:48 2015 UTC
# Line 947  bool MainWindow::close_confirmation_dial Line 947  bool MainWindow::close_confirmation_dial
947      int response = dialog.run();      int response = dialog.run();
948      dialog.hide();      dialog.hide();
949    
950        // user decided to exit app without saving
951        if (response == Gtk::RESPONSE_NO) return true;
952    
953        // user cancelled dialog, thus don't close app
954        if (response == Gtk::RESPONSE_CANCEL) return false;
955    
956      // TODO: the following return valid is disabled and hard coded instead for      // TODO: the following return valid is disabled and hard coded instead for
957      // now, due to the fact that saving with progress bar is now implemented      // now, due to the fact that saving with progress bar is now implemented
958      // asynchronously, as a result the app does not close automatically anymore      // asynchronously, as a result the app does not close automatically anymore

Legend:
Removed from v.2691  
changed lines
  Added in v.2694

  ViewVC Help
Powered by ViewVC