mirror of https://github.com/odrling/Aegisub
Actually hide override tags in hide tags mode. Closes #1360.
Originally committed to SVN as r5830.
This commit is contained in:
parent
dc380c5848
commit
89541a949f
|
@ -624,7 +624,10 @@ void BaseGrid::GetRowStrings(int row, AssDialogue *line, bool *paint_columns, wx
|
||||||
|
|
||||||
// Hidden overrides
|
// Hidden overrides
|
||||||
if (mode == 1 || mode == 2) {
|
if (mode == 1 || mode == 2) {
|
||||||
wxString replaceWith = lagi_wxString(OPT_GET("Subtitle/Grid/Hide Overrides Char")->GetString());
|
wxString replaceWith;
|
||||||
|
if (mode == 1)
|
||||||
|
replaceWith = lagi_wxString(OPT_GET("Subtitle/Grid/Hide Overrides Char")->GetString());
|
||||||
|
|
||||||
strings[10].reserve(line->Text.size());
|
strings[10].reserve(line->Text.size());
|
||||||
size_t start = 0, pos;
|
size_t start = 0, pos;
|
||||||
while ((pos = line->Text.find('{', start)) != wxString::npos) {
|
while ((pos = line->Text.find('{', start)) != wxString::npos) {
|
||||||
|
|
Loading…
Reference in New Issue