Skip to content

Commit 319421e

Browse files
committed
On button press "No" in exit dialog, reset background to that stored in the configuration file.
1 parent 86ea08b commit 319421e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NWindow.cc

+2
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ bool NWindow::on_delete_event(GdkEventAny *event)
231231
this->apply_bg();
232232
break;
233233
case Gtk::RESPONSE_NO:
234+
Util::program_log("restoring backgrounds from config file");
235+
Util::restore_saved_bgs();
234236
break;
235237
case Gtk::RESPONSE_CANCEL:
236238
case Gtk::RESPONSE_DELETE_EVENT:

0 commit comments

Comments
 (0)