[Qt] Add capability to load scripts from files

This commit is contained in:
wheremyfoodat 2023-12-16 17:18:52 +02:00
parent c30fbd3801
commit 7c6b498918
4 changed files with 38 additions and 2 deletions

View file

@ -19,4 +19,5 @@ class TextEditorWindow : public QDialog {
public:
TextEditorWindow(QWidget* parent, const std::string& filename, const std::string& initialText);
void setText(const std::string& text) { zepWidget.GetEditor().GetMRUBuffer()->SetText(text); }
};