aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-10 18:33:39 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-10 18:33:39 +0200
commit4bcbe977ab54ebd6466f5bd59420f52a65f7f720 (patch)
tree38b24f8683add87e28a19e033956bd11ba9f0805 /gui/mainwindow.h
parent67227847e5771f7b99d4f6959634012b4b03f2e5 (diff)
downloadnextpnr-4bcbe977ab54ebd6466f5bd59420f52a65f7f720.tar.gz
nextpnr-4bcbe977ab54ebd6466f5bd59420f52a65f7f720.tar.bz2
nextpnr-4bcbe977ab54ebd6466f5bd59420f52a65f7f720.zip
Propagate design to widget
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 6bc4d21f..4d8b0dbd 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -16,6 +16,7 @@ class MainWindow : public QMainWindow
public:
explicit MainWindow(Design *design, QWidget *parent = 0);
~MainWindow();
+ Design *getDesign() { return design; }
private:
int executePython(std::string command);