mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 15:57:44 +01:00
Merge pull request #171 from ms2mml/xlplugin-toggle
This commit is contained in:
commit
65ff0e7497
1 changed files with 9 additions and 4 deletions
|
|
@ -469,9 +469,13 @@ namespace Dalamud {
|
||||||
this.isImguiDrawChangelogWindow = this.changelogWindow != null && this.changelogWindow.Draw();
|
this.isImguiDrawChangelogWindow = this.changelogWindow != null && this.changelogWindow.Draw();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
internal void OpenPluginInstaller() {
|
internal void OpenPluginInstaller()
|
||||||
this.pluginWindow = new PluginInstallerWindow(this, this.StartInfo.GameVersion);
|
{
|
||||||
this.isImguiDrawPluginWindow = true;
|
if (this.pluginWindow == null)
|
||||||
|
{
|
||||||
|
this.pluginWindow = new PluginInstallerWindow(this, this.StartInfo.GameVersion);
|
||||||
|
}
|
||||||
|
this.isImguiDrawPluginWindow ^= true;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void OpenChangelog() {
|
internal void OpenChangelog() {
|
||||||
|
|
@ -727,7 +731,8 @@ namespace Dalamud {
|
||||||
Log.Information(info);
|
Log.Information(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnOpenInstallerCommand(string command, string arguments) {
|
private void OnOpenInstallerCommand(string command, string arguments)
|
||||||
|
{
|
||||||
OpenPluginInstaller();
|
OpenPluginInstaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue