diff libgui/src/set-path-dialog.h @ 27305:d20c31be3160

add a reload button to the gui path dialog * set-path-dialog.cc (set_path_dialog): add new button for reloading path * set-path-dialog.h: new reload button * set-path-model.cc (set_path_model): initialize new flag whether last change is revertible or not, rename method for loading path; (construct): rename into path_to_model, set new revertible flag to false; (update_data): update backup string list if revertible flag is false and set this flag to true again * set-path-model.h: renamed private method contruct into public slot path_to_model, new flag whehter last change is revertible or not
author Torsten Lilge <ttl-octave@mailbox.org>
date Wed, 31 Jul 2019 16:45:56 +0200
parents 1805f8586179
children 82ace1225a9c
line wrap: on
line diff
--- a/libgui/src/set-path-dialog.h	Mon Jul 29 23:41:07 2019 -0400
+++ b/libgui/src/set-path-dialog.h	Wed Jul 31 16:45:56 2019 +0200
@@ -61,6 +61,7 @@
   private:
 
     QLabel *m_info_label;
+    QPushButton *m_reload_button;
     QPushButton *m_save_button;
     QPushButton *m_close_button;
     QPushButton *m_revert_button;