Skip to content

Commit 9dd962b

Browse files
committed
Fix formatting
1 parent 4d2e8a3 commit 9dd962b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Pinta.Core/Managers/WorkspaceManager.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ public void SetActiveDocument (
382382
actions.Window.SetActiveDocument (open_documents[index]);
383383
}
384384

385-
internal void SetActiveDocumentInternal (
386-
ToolManager tools,
387-
Document document,
388-
bool suppressCommit = false)
385+
internal void SetActiveDocumentInternal (
386+
ToolManager tools,
387+
Document document,
388+
bool suppressCommit = false)
389389
{
390390
// Work around a case where we closed a document but haven't updated
391391
// the active_document_index yet and it points to the closed document
@@ -398,11 +398,11 @@ internal void SetActiveDocumentInternal (
398398
OnActiveDocumentChanged (EventArgs.Empty);
399399
}
400400

401-
public void SetActiveDocumentForClose (Document document)
401+
public void SetActiveDocumentForClose (Document document)
402402
{
403403
// Sets the active document in preparation for closing it. This avoids committing
404404
// tool state when switching, so canceling the close will not finalize editable shapes, for example.
405-
SetActiveDocumentInternal (PintaCore.Tools, document, suppressCommit: true);
405+
SetActiveDocumentInternal (PintaCore.Tools, document, suppressCommit: true);
406406
}
407407

408408
private void OnActiveDocumentChanged (EventArgs _)

0 commit comments

Comments
 (0)