- Drag and Drop files works now only in the Notebook and in the Plot Tab

This commit is contained in:
Marius Stanciu
2023-07-05 16:12:27 +03:00
parent f0dec4ad33
commit eae925a2b7
4 changed files with 306 additions and 205 deletions

View File

@@ -1540,7 +1540,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.right_lay.addWidget(self.plot_tab_area)
self.plot_tab_area.setTabsClosable(True)
self.plot_tab = QtWidgets.QWidget()
self.plot_tab = PlotTabWithDragDrop(app=self.app)
self.plot_tab.setObjectName("plotarea_tab")
self.plot_tab_area.addTab(self.plot_tab, _("Plot Area"))
@@ -2015,7 +2015,8 @@ class MainGUI(QtWidgets.QMainWindow):
self.filename = ""
self.units = ""
self.setAcceptDrops(True)
# self.setAcceptDrops(True)
# ########################################################################
# ########################## Build GUI # #################################