Skip to content

Commit

Permalink
orgmode: fix action buttons not being loaded correctly (PR #2449)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxkn authored Oct 21, 2024
1 parent 4859af9 commit fd14805
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import net.gsantner.markor.format.plaintext.PlaintextActionButtons;
import net.gsantner.markor.format.todotxt.TodoTxtActionButtons;
import net.gsantner.markor.format.wikitext.WikitextActionButtons;
import net.gsantner.markor.format.orgmode.OrgmodeActionButtons;
import net.gsantner.opoc.util.GsCollectionUtils;

import java.util.ArrayList;
Expand Down Expand Up @@ -133,6 +134,8 @@ private void extractActionData() {
_textActions = new WikitextActionButtons(this, null);
} else if (documentType == R.string.pref_key__asciidoc__reorder_actions) {
_textActions = new AsciidocActionButtons(this, null);
} else if (documentType == R.string.pref_key__orgmode__reorder_actions) {
_textActions = new OrgmodeActionButtons(this, null);
} else { // Default to Plaintext
_textActions = new PlaintextActionButtons(this, null);
}
Expand Down

0 comments on commit fd14805

Please sign in to comment.