Fixed bug with macro application and grid scrollbar: #559

Originally committed to SVN as r1770.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-19 00:21:32 +00:00
parent 53e7f60fe0
commit 0537e36bd3
4 changed files with 4 additions and 3 deletions

View file

@ -80,7 +80,6 @@ protected:
bool showCol[16]; bool showCol[16];
virtual void OnPopupMenu(bool alternate=false) {} virtual void OnPopupMenu(bool alternate=false) {}
void AdjustScrollbar();
void ScrollTo(int y); void ScrollTo(int y);
int yPos; int yPos;
@ -92,6 +91,7 @@ public:
std::vector<AssDialogue *> diagPtrMap; std::vector<AssDialogue *> diagPtrMap;
std::vector<bool> selMap; std::vector<bool> selMap;
void AdjustScrollbar();
void SetColumnWidths(); void SetColumnWidths();
void BeginBatch(); void BeginBatch();
void EndBatch(); void EndBatch();

View file

@ -1090,6 +1090,7 @@ void FrameMain::OnAutomationMacro (wxCommandEvent &event) {
SubsBox->UpdateMaps(); SubsBox->UpdateMaps();
SubsBox->SetSelectionFromAbsolute(selected_lines); SubsBox->SetSelectionFromAbsolute(selected_lines);
SubsBox->CommitChanges(true, false); SubsBox->CommitChanges(true, false);
SubsBox->AdjustScrollbar();
SubsBox->EndBatch(); SubsBox->EndBatch();
#endif #endif
} }

Binary file not shown.

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Aegisub\n" "Project-Id-Version: Aegisub\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-01-18 14:48-0200\n" "POT-Creation-Date: 2008-01-18 14:48-0200\n"
"PO-Revision-Date: 2008-01-18 14:48-0300\n" "PO-Revision-Date: 2008-01-18 22:13-0300\n"
"Last-Translator: Rodrigo Monteiro <archmagezeratul@gmail.com>\n" "Last-Translator: Rodrigo Monteiro <archmagezeratul@gmail.com>\n"
"Language-Team: Rodrigo Braz Monteiro\n" "Language-Team: Rodrigo Braz Monteiro\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -4265,7 +4265,7 @@ msgstr "organizar"
#: frame_main_events.cpp:1501 #: frame_main_events.cpp:1501
msgid "File backup saved as \"" msgid "File backup saved as \""
msgstr "Backup do arquivo salvado como \"" msgstr "Backup do arquivo salvo como \""
#: frame_main_events.cpp:1595 #: frame_main_events.cpp:1595
msgid "ASS Override Tag mode set to " msgid "ASS Override Tag mode set to "