diff --git a/src/editor/mainwindow.cpp b/src/editor/mainwindow.cpp index c4f7c66..d2b0fd3 100644 --- a/src/editor/mainwindow.cpp +++ b/src/editor/mainwindow.cpp @@ -165,6 +165,60 @@ MainWindow::MainWindow(const QString &filePath, QWidget *parent) : loadFile(m_filePath); } +template<> +std::map &MainWindow::propertyWindowsFor() +{ + return m_spritePropertiesWindows; +} + +template<> +std::map &MainWindow::propertyWindowsFor() +{ + return m_soundPropertiesWindows; +} + +template<> +std::map &MainWindow::propertyWindowsFor() +{ + return m_backgroundPropertiesWindows; +} + +template<> +std::map &MainWindow::propertyWindowsFor() +{ + return m_pathPropertiesWindows; +} + +template<> +std::map &MainWindow::propertyWindowsFor