Merge pull request #171 from ms2mml/xlplugin-toggle

This commit is contained in:
goaaats 2020-09-13 00:15:22 +02:00 committed by GitHub
commit 65ff0e7497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -469,9 +469,13 @@ namespace Dalamud {
this.isImguiDrawChangelogWindow = this.changelogWindow != null && this.changelogWindow.Draw();
}
}
internal void OpenPluginInstaller() {
this.pluginWindow = new PluginInstallerWindow(this, this.StartInfo.GameVersion);
this.isImguiDrawPluginWindow = true;
internal void OpenPluginInstaller()
{
if (this.pluginWindow == null)
{
this.pluginWindow = new PluginInstallerWindow(this, this.StartInfo.GameVersion);
}
this.isImguiDrawPluginWindow ^= true;
}
internal void OpenChangelog() {
@ -727,7 +731,8 @@ namespace Dalamud {
Log.Information(info);
}
private void OnOpenInstallerCommand(string command, string arguments) {
private void OnOpenInstallerCommand(string command, string arguments)
{
OpenPluginInstaller();
}