diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2019-01-05 21:13:04 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2019-01-05 21:13:04 +0100 |
commit | 7d9ca91c2922ede0d21a856abf61c14d9ce7898a (patch) | |
tree | 8ef1d64e680c5e0e1f36e9f0170ea36ffb43956f /src/gui/mainmenu.cpp | |
parent | 6760247a5ca6143779699cbd5de5022e7477bd80 (diff) |
preference dialog done (closes #50)
Diffstat (limited to 'src/gui/mainmenu.cpp')
-rw-r--r-- | src/gui/mainmenu.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/mainmenu.cpp b/src/gui/mainmenu.cpp index 3b8b92b..6f4f8db 100644 --- a/src/gui/mainmenu.cpp +++ b/src/gui/mainmenu.cpp @@ -17,6 +17,7 @@ */ #include "mainmenu.h" +#include "preferencedialog.h" #include "tikzit.h" #include <QDebug> @@ -269,6 +270,13 @@ void MainMenu::on_actionRun_LaTeX_triggered() tikzit->makePreview(); } +void MainMenu::on_actionPreferences_triggered() +{ + PreferenceDialog *d = new PreferenceDialog(this); + d->exec(); + d->deleteLater(); +} + // View void MainMenu::on_actionZoom_In_triggered() |