Bläddra i källkod

Forgotten setAcceptDrops

George King 6 månader sedan
förälder
incheckning
b9ef9f64bb
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      mapeditor/mainwindow.cpp

+ 2 - 0
mapeditor/mainwindow.cpp

@@ -188,6 +188,8 @@ MainWindow::MainWindow(QWidget* parent) :
 	// This is important on Mac for relative paths to work inside DMG.
 	QDir::setCurrent(QApplication::applicationDirPath());
 
+	setAcceptDrops(true);
+	
 	new QShortcut(QKeySequence("Backspace"), this, SLOT(on_actionErase_triggered()));
 
 	ExtractionOptions extractionOptions;